package com.ruoyi.project.yuwen.yuwenfeedback.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.Date;

/**
 * 朗读举报对象 audio_feedback
 *
 * @author shixiangwen
 * @date 2021-02-24
 */
public class AudioFeedback extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 音频ID
     */
    @Excel(name = "音频ID")
    private String vid;

    /**
     * 违规类型
     */
    @Excel(name = "违规类型")
    private String type;

    /**
     * 举报人ID
     */
    @Excel(name = "举报人ID")
    private Long reporter;

    /**
     * 举报时间
     */
    @Excel(name = "举报时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /**
     * 处理状态
     */
    @Excel(name = "处理状态")
    private Integer approveStatus;

    /**
     * 处理方法
     */
    @Excel(name = "处理方法")
    private Integer approveResult;

    /**
     * 审核时间
     */
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date approveTime;

    private String url;

    private String userStat;

    /**
     * 审核人
     */
    @Excel(name = "审核人")
    private String approveUser;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setVid(String vid) {
        this.vid = vid;
    }

    public String getVid() {
        return vid;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public void setReporter(Long reporter) {
        this.reporter = reporter;
    }

    public Long getReporter() {
        return reporter;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setApproveStatus(Integer approveStatus) {
        this.approveStatus = approveStatus;
    }

    public Integer getApproveStatus() {
        return approveStatus;
    }

    public void setApproveResult(Integer approveResult) {
        this.approveResult = approveResult;
    }

    public Integer getApproveResult() {
        return approveResult;
    }

    public void setApproveTime(Date approveTime) {
        this.approveTime = approveTime;
    }

    public Date getApproveTime() {
        return approveTime;
    }

    public void setApproveUser(String approveUser) {
        this.approveUser = approveUser;
    }

    public String getApproveUser() {
        return approveUser;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUserStat() {
        return userStat;
    }

    public void setUserStat(String userStat) {
        this.userStat = userStat;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("vid", getVid())
                .append("type", getType())
                .append("reporter", getReporter())
                .append("createdTime", getCreatedTime())
                .append("approveStatus", getApproveStatus())
                .append("approveResult", getApproveResult())
                .append("approveTime", getApproveTime())
                .append("approveUser", getApproveUser())
                .append("remark", getRemark())
                .toString();
    }
}
